package com.jk.smartelderlycare.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * @author xw
 * @version 1.0
 * @ClassName TbCollection
 * @program: smart-elderly-care-demo
 * @description: TODO
 * @date 2024/12/2 18:33
 */
@Data
@ToString
@TableName(value = "sys_orders")
public class TbOrder implements Serializable {

    private static final long serialVersionUID = 6131910425728468759L;
    @TableId(value = "orders_id", type = IdType.ASSIGN_ID)
    private String ordersId;        //主键

    private String startDate;       //开始日期

    private String endDate;         //结束日期

    private String ordersContact;   //联系人

    private Long ordersPhone;       //电话

    private  String ordersDays;     //天数

    private String state;       //状态

    private String totalPrice;      //总价格

    private Long homestayId;        //房屋id

    private String homestayName;   //房屋名称

    private String province;        //省

    private String city;        //市

    private String country;     //县

    private String address;     //详细地址

    private String imagePath;      //图片

    private String remark;          //备注

    private Double homestayRent;        //租金

    private Double homestayDeposit;     //押金

    private String  loginName;

    private Date CreationTime;



}
